package com.spring.bean;

/**
 * @author SpringWang
 * @date 2021/5/25
 */
public class BeanDefinition {

    private String factoryBeanName;

    private String beanClassName;


    public static BeanDefinition create(String factoryBeanName, String beanClassName) {
        return new BeanDefinition(factoryBeanName, beanClassName);
    }

    private BeanDefinition(String factoryBeanName, String beanClassName) {
        this.factoryBeanName = factoryBeanName;
        this.beanClassName = beanClassName;
    }

    public String getFactoryBeanName() {
        return factoryBeanName;
    }

    public void setFactoryBeanName(String factoryBeanName) {
        this.factoryBeanName = factoryBeanName;
    }

    public String getBeanClassName() {
        return beanClassName;
    }

    public void setBeanClassName(String beanClassName) {
        this.beanClassName = beanClassName;
    }
}
